/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ac.za.cput.kleintjes.question3.isp.violates.services.impl;

import ac.za.cput.kleintjes.question3.isp.violates.services.Payment;

/**
 *
 * @author Administrator
 */
public class MonthlyWorker implements Payment
{
    private double salary;

    public double getSalary() {
        return salary;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }

    public MonthlyWorker(double salary) {
        this.salary = salary;
    }

    public MonthlyWorker() {
    }
    
    @Override
    public double dailyPayment() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public double monthlyPayment() {
        return salary;
    }

    @Override
    public double weeklyPayment() {
        throw new UnsupportedOperationException("Not supported yet.");
    }    

}
